<?php
	require("PHPMailer_5.2.4/class.phpmailer.php");
	$mail = new PHPMailer();
	
	$mail->IsSMTP();  // telling the class to use SMTP
	$mail->Host     = "smtp.mailinator.com"; // SMTP server
	$mail->Port     = 25;
	
	$mail->From     = "test@mailinator.com";
	$mail->AddAddress("sgilde3627@students.pcci.edu");
	$mail->Subject  = "First PHPMailer Message";
	$mail->Body     = "Hi! \n\n This is my first e-mail sent through PHPMailer.";
	$mail->WordWrap = 50;
	
	if(!$mail->Send()) {
		echo 'Message was not sent.<br />';
		echo 'Mailer error: ' . $mail->ErrorInfo . '<br />';
	} else {
		echo 'Message has been sent.';
	}
?>